package net.imwork.amorgemini.service;

import java.util.List;

/**
 * Created by lvbr on 2017-07-2618:00.
 */
public interface BaseService<T, I> {

    List<T> findAll();

    T save(T entity);

    void delete(I id);

    T update(T entity);

    T getOne(I id);

}
